<div id="main">
    <div id="contents">
        <form method="post" action="#" name="filters">
            <fieldset>
                <legend>
                    <label sid="ext_reg.table1_title"></label>
                </legend>
                <div class="frame_tab_layer">
                    <table class="cmenutitle" cellspacing="0" cellpadding="0" border="0" width="100%">
                        <tbody>
                        <tr id="tr491">
                            <td class="frame_tab_left">
                                <span id="img491" class="errormsg">&nbsp;</span>
                                <label for="id491">
                                    <label sid="ext_reg.table1_td7"></label>
                                </label>
                            </td>
                            <td id="td491" class="frame_tab_right">
                                <input id="radio491_1" type="radio" onclick="read();" value="0" name="radio491">
                                <label sid="ext_reg.table1_td7_option1"></label>

                                <span style="padding-left:20px;">&nbsp;</span>
                                <input id="radio491_2" type="radio" onclick="read();" value="1" name="radio491">
                                <label sid="ext_reg.table1_td7_option2"></label>

                                <input type="text" maxlength="6" size="6" name="id491">
                                <span id="msg491">&nbsp;</span>
                            </td>
                        </tr>
                        <tr id="tr519">
                            <td class="frame_tab_left">
                                <span id="img519" class="errormsg">&nbsp;</span>
                                <label for="id519">
                                    <label sid="ext_reg.table1_td1"></label>
                                </label>
                            </td>
                            <td id="td519" class="frame_tab_right">
                                <input type="text" name="id519">
                                <label sid="ext_reg.table1_td2_note"></label>
                                <span id="msg519">&nbsp;</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="frame_tab_left">
                                <span id="img520" class="errormsg">&nbsp;</span>
                                <label for="id520">
                                    <label sid="ext_reg.table1_td2"></label>
                                </label>
                            </td>
                            <td id="td520" class="frame_tab_right">
                                <input type="text" name="id520">
                                <label sid="ext_reg.table1_td2_note"></label>

                                <span id="msg520">&nbsp;</span>
                            </td>
                        </tr>
                        <tr id="tr522">
                            <td class="frame_tab_left">
                                <span id="img522" class="errormsg">&nbsp;</span>
                                <label for="id522">
                                    <label sid="ext_reg.table1_td3"></label>
                                </label>
                            </td>
                            <td id="td522" class="frame_tab_right">
                                <input type="text" name="id522">
                                <span id="msg522">&nbsp;</span>
                            </td>
                        </tr>
                        <tr>
                            <td class="frame_tab_left">
                                <label for="id521">
                                    <label sid="ext_reg.table1_td4"></label>
                                </label>
                            </td>
                            <td id="td521" class="frame_tab_right">
                                <input type="radio" value="1" name="id521">
                                <label sid="ext_reg.table1_td4_option1"></label>
                                <span style="padding-left:55px;">&nbsp;</span>
                                <input type="radio" value="0" name="id521">
                                <label sid="ext_reg.table1_td4_option2"></label>
                            </td>
                        </tr>
                        <tr id="tr627">
                            <td class="frame_tab_left">
                                <label for="id521">
                                    <label sid="ext_reg.table1_td5"></label>
                                </label>
                            </td>
                            <td id="td627" class="frame_tab_right">
                                <select id="options" onchange="read();" name="id627">
                                    <option value="0" sid="ext_reg.table1_td5_option1"></option>
                                    <option value="1" sid="ext_reg.table1_td5_option2"></option>
                                    <option value="3" sid="ext_reg.table1_td5_option3"></option>
                                </select>
                            </td>
                        </tr>
                        <tr id="tr628">
                            <td class="frame_tab_left">
                                <span id="img628" class="errormsg">&nbsp;</span>
                                <label for="id628">
                                    <label sid="ext_reg.table1_td6"></label>
                                </label>
                            </td>
                            <td class="frame_tab_right">
                                <input type="text" name="id628">
                                <label sid="ext_reg.table1_td2_note"></label>

                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </fieldset>
            <br>
            <br>
            <div class="submitFooter">
                <div class="submitFooter">
                    <script type="text/javascript">
                        var buttonInfo = submitFooterButton(1,0);
                        $(".submitFooter").html(buttonInfo);
                    </script>
                </div>
            </div>
        </form>
    </div>
</div>
<br>
<div id="helpContainer">
    <div id="help">
        <div>
            <h2>
                <label sid="share.help"></label>
            </h2>
        </div>
        <div id="helpBody">
            <dl>

                <dt class="term">
                    <label sid="ext_reg.table1_td1"></label>
                </dt>
                <dd class="definition">
                    <label sid="ext_reg.table1_td1Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="ext_reg.table1_td2"></label>
                </dt>
                <dd class="definition">
                    <label sid="ext_reg.table1_td2Tip"></label>
                </dd>
                <dt class="term">
                    <label sid="ext_reg.table1_td3"></label>
                </dt>
                <dd class="definition">
                    <label sid="ext_reg.table1_td3_note"></label>
                </dd>
                <dt class="term">
                    <label sid="ext_reg.table1_td4"></label>
                </dt>
                <dd class="definition">
                    <label sid="ext_reg.table1_td4_step1"></label><br>
                    <label sid="ext_reg.table1_td4_step2"></label><br><br>
                    <label sid="ext_reg.table1_td4_step3"></label><br>
                    <label sid="ext_reg.table1_td4_step4"></label>
                <dt class="term">
                    <label sid="ext_reg.table1_td5"></label>
                </dt>
                <dd class="definition">
                    <label sid="ext_reg.table1_td5Tip"></label>
                </dd>

            </dl>

        </div>
    </div>
</div>
<script type="text/javascript">
     $(document).ready(function(){
         if(lineshow("4000")){
             var nonames = new Array("submit","radio491");
             var sendtext = getSendText(nonames);
             DataRequest("get_json",sendtext,function(data){
                 getResult(nonames,data);
                 if(data["id491"]=="0"){
                     $("#radio491_1").attr("checked",true);
                 }else{
                     $("#radio491_2").attr("checked",true);
                 }
                 read();
             });
         }
         $("[name=submit]").click(function () {
             $(".errormsg").html('');
             var nonames = new Array("submit","radio491");
             var settext = getSetText(nonames);
             settext=settext.replace(/\#/g,"%23");
             submitform(modules["set_data"],settext);
         });
     });

	
	function read(){
		if($("[name=id627]").val()=="0"){
			$("#tr628").hide();
		}else{
			$("#tr628").show();
		}
		if($("#radio491_1").attr("checked")){
			$("[name=id491]").hide();
		}else{
			$("[name=id491]").show();
		}
	}
</script>

